home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-12-17 | 2.0 KB | 60 lines | [TEXT/MPS ] |
- #
- # ****************************************************************************
- #
- # File Name: WordProcessor.Lib
- #
- # Contains: xxx put contents here xxx
- #
- # Written by: Kevin Avoy, Ken Landreth, Michael Leong, Gil Spencer et al
- #
- # Copyright: © 1993 by Apple Computer, Inc., all rights reserved.
- #
- # ****************************************************************************
- # C h a n g e H i s t o r y (most recent first):
- # ****************************************************************************
- #
- # Vers Date Author Description
- # ---- -------- ------ ---------------------------------------------
- # <1+> 5/21/93 NAGA Adding header and porting old files to follow new standards
- #
- # ****************************************************************************
- #
-
- ########################################################################
- # External libraries
- #=======================================================================
- Libraries "DoTasks.Lib","UserInterface.Lib";
-
- #########################################################################
- # DoWPTools()
- #========================================================================
- # Author: ML
- # Description: Test Word Processor Tools.
- # Parameters: RulerRect,TabToolList,OtherToolList,SelectAllFlag
- # Returns: Nada
- # Examples: DoWPTools();
- # Assumptions: Word
- #========================================================================
- # History:
- #
- ########################################################################
- TASK DoWPTools()#(RulerRect,TabToolList,OtherToolList,SelectAllFlag:=0)
- begin
- global RulerMenuPath,RulerRect,TabToolList,OtherToolList,SelectAllFlag;
-
- selectmenuitem(RulerMenuPath[1],RulerMenuPath[2]);
-
- if SelectAllFlag
- SelectMenuItem ("Select All", "Edit");
-
- global gToolList:= TabToolList;
- theDesc := FindWindow(0);
- rect := theDesc.r;
- bottomInset := rect[4]-rect[2]-RulerRect[4];
- global gBoundingRect := {RulerRect[1],RulerRect[2],RulerRect[3],bottomInset};
- DoDraw();
-
- global gToolList:= OtherToolList;
- DoDraw();
-
- end;